package Test12;

public class Lion {
    private String lion;
    private int year;
    private int mouth;
    private int day;
    private  void taxi(int year, int mouth, int day) {
        this.year = year;
        this.mouth = mouth;
        this.day = day;

    }
    private void boll() {
        System.out.println("定心--沉淀--坚守--克制--慎独--明心");
        System.out.println(year + "/" + mouth + "/" + day);
    }
    private static void main(String[] args) {
        Lion lion1 = new Lion(2);
        Lion lion2 = new Lion(3);
        Lion lion3 = new Lion(3);
        //lion1.taxi(2002,4,30);
        //lion2.taxi(2019,9,15);
        //lion3.taxi(2025,3,13);
        lion1.boll();
        lion2.boll();
        lion3.boll();
    }
   private Lion() {
        this(3);
        year = 5555;
        day = 9999;
        mouth = 6666;
        System.out.println("这是一个构造方法");
    }
    private Lion(int cute) {
        //this();
        System.out.println("cute--可爱的构造方法");
    }

}
